package dao;

import entity.Choice;
import entity.ServiceTime;

import java.util.List;

public class ChoiceDao {
    // 查询宠物店的套餐
    public List<Choice> getChoice(String sql,String shopId){
        return jdbc2.selectList(Choice.class,sql,shopId);
    }
    // 查询套餐服务时间
    public List<ServiceTime> getServiceTime(String sql,int shopId,String catId){
        return jdbc2.selectList(ServiceTime.class,sql,shopId,catId);
    }
}
